<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="BillingType">
    <xs:annotation>
      <xs:documentation>This object contains an amount to be billed to an outside entity.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="BilledEntity">
        <xs:complexType>
          <xs:annotation>
            <xs:documentation>ID of the entity being billed for this billing activity (e.g., student, employee, organization).</xs:documentation>
          </xs:annotation>
          <xs:simpleContent>
            <xs:extension base="sif:IdRefType">
              <xs:attribute name="SIF_RefObject" use="required">
                <xs:annotation>
                  <xs:documentation>
								SIF object referenced by BilledEntity.
							</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="StudentPersonal" />
                    <xs:enumeration value="StaffPersonal" />
                    <xs:enumeration value="VendorInfo" />
                    <xs:enumeration value="Purchasing" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="BillingDate" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date of the transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TransactionDescription" type="xs:string">
        <xs:annotation>
          <xs:documentation>Description of the transaction.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BilledAmount" type="sif:MonetaryAmountType">
        <xs:annotation>
          <xs:documentation>Amount to be billed.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>GUID for this transaction. The application that owns this object is responsible for generating this unique ID.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="Billing" type="sif:BillingType" />

</xs:schema>